package stuff;

import java.util.Date;
public class Message {
	private int ID;
	private String contents = "";
	private String toUser;
	private Date date;
	private String fromUser = "";
	private String stuff;
	
	public Message(){
		this("aaaa",null,null);
	}
	public Message(String contents,String fromUser, String toUser){
		this.contents = contents;
		this.fromUser = fromUser;
		this.toUser = toUser;
	}
	
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public String gettoUser() {
		return toUser;
	}
	public void settoUser(String toUser) {
		this.toUser = toUser;
	}
	public Date getDate() {
		return date;
	}
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public String getFromUser() {
		return fromUser;
	}
	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}
	public String getStuff() {
		return stuff;
	}
	public void setStuff(String stuff) {
		this.stuff = stuff;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
}
